<%-------------------------------------------------------------------
 * 页面名称：account.jsp
 * 功能描述：账户信息
 * Action: cn.agiledata.bank.common.action.AccountAction
 *
 *-------------------------------------------------------------------
--%>


<%@ page contentType="text/html; charset=utf-8"%>
<%@ page import="cn.agiledata.bank.common.util.Constant"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
String path = request.getContextPath();
%>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<div class="titleinfo">
				账户信息
			</div>
			<div class="edit_pass">
				<table width="100%" border="0" align="center" cellpadding="5"
					cellspacing="0">
					<tr>
						<td colspan="2" bgcolor="#FFFFFF">
							&nbsp;
						</td>
					</tr>
					<!--名称 -->
					<tr>
						<td width="18%" align="right" height="35px;">
							<logic:equal name="account" property="accountType"
								value="<%=Constant.ACCOUNT_TYPE_BUYER%>">姓名
            </logic:equal>
							<logic:notEqual name="account" property="accountType"
								value="<%=Constant.ACCOUNT_TYPE_BUYER%>">名称
            </logic:notEqual>
							：
						</td>
						<td width="82%" bgcolor="#FFFFFF" height="35px;">
							<bean:write name="account" property="name" />
						</td>
					</tr>
					<!--Email -->
					<tr>
						<td align="right" height="35px;">
							Email：
							<br />
						</td>
						<td bgcolor="#FFFFFF" height="35px;">
							<bean:write name="account" property="email" />
						</td>
					</tr>
					<!--手机-->
					<tr>
						<td align="right" height="35px;">
							手机：
							<br />
						</td>
						<td bgcolor="#FFFFFF" height="35px;">
							<bean:write name="account" property="mobile" />
						</td>
					</tr>
					<!--客户类型-->
					<tr>
						<td align="right" height="35px;">
							客户类型：
						</td>
						<td bgcolor="#FFFFFF" height="35px;">
							<ad:write typeid="ACCOUNT_TYPE" name="account"
								property="accountType" />
						</td>
					</tr>
					<!--状态-->
					<tr>
						<td align="right" height="35px;">
							状态：
						</td>
						<td bgcolor="#FFFFFF" height="35px;">
							<ad:write typeid="CUSTOMER_STATUS" name="account"
								property="status" />
						</td>
					</tr>
					<!--联系地址-->
					<logic:equal name="account" property="accountType"
						value="<%=Constant.ACCOUNT_TYPE_BUYER%>">
						<tr>
							<td align="right" height="35px;">
								联系地址：
							</td>
							<td bgcolor="#FFFFFF" height="35px;">
								<bean:write name="account" property="addr" />
							</td>
						</tr>
					</logic:equal>
					<logic:equal name="account" property="accountType"
						value="<%=Constant.ACCOUNT_TYPE_CORPORATION%>">
						<td align="right" height="35px;"> 
							公司地址：
						</td>
						<td bgcolor="#FFFFFF" height="35px;">
							<bean:write name="account" property="accountCompany.regiAddr" />
						</td>
					</logic:equal>
					<tr>
						<td align="right">
							&nbsp;
						</td>
						<td height="50" bgcolor="#FFFFFF" height="35px;">
							<input type="button" name="return" value="返 回"
								class="button_style" onclick="history.go(-1);" />
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>
<div style="clear:both;"></div>
